/* ::::: searchbar-textbox ::::: */

.searchbar-textbox {
  min-height: 22px;
  min-width: 6em;
}

.textbox-input-box {
  margin: 0px;
}

/* ::::: searchbar-engine-button ::::: */

.searchbar-engine-image {
  height: 16px;
  width: 16px;
  list-style-image: url("chrome://global/skin/icons/folder-item.png");
  -moz-image-region: rect(0px, 16px, 16px, 0px);
  -moz-margin-start: 3px;
}

.searchbar-engine-button {
  -moz-appearance: none;
  padding: 0px;
  margin: 0px;
  height: 1.23em;
  min-width: 0px;
  min-height: 20px;
  -moz-margin-end: 3px;
  -moz-box-align: center;
  -moz-border-radius: 0px;
  border: none;
  background-color: transparent;
}

.searchbar-engine-button:hover,
.searchbar-engine-button[open="true"] {
  background-color: #EEE;
}

.searchbar-engine-button[chromedir="rtl"] {
  border-right-width: 0px;
  border-left: 1px solid #666;
}

.searchbar-engine-button > .button-box {
  -moz-appearance: none;
  -moz-padding-end: 3px;
  padding: 0px;
  border: 0px;
}

.searchbar-engine-button[addengines="true"]:not([open="true"]) > .button-box {
  background: transparent url(chrome://browser/skin/search-addengines.png) no-repeat right center;
}

.searchbar-engine-button[addengines="true"][chromedir="rtl"] > .button-box {
  background-position: left center;
}

.searchbar-dropmarker-image {
  list-style-image: url("chrome://global/skin/arrow/arrow-dn.gif");
  -moz-margin-start: 2px;
  -moz-margin-end: 2px;
}

.searchbar-engine-button:hover .searchbar-dropmarker-image,
.searchbar-engine-button[open="true"] .searchbar-dropmarker-image {
  list-style-image: url("chrome://global/skin/arrow/arrow-dn-hov.gif");
}

/* ::::: search-go-button ::::: */

.search-go-container {
  -moz-box-align: center;
}

.search-go-button {
  padding: 2px;
  list-style-image: url("chrome://browser/skin/search-glass.png");
  -moz-image-region: rect(0px 16px 16px 0px);
}

.search-go-button[chromedir="rtl"] {
  list-style-image: url("chrome://browser/skin/search-glass-rtl.png");
}

.search-go-button:hover,
.search-go-button:active {
  -moz-image-region: rect(0px 32px 16px 16px);
}

.searchbar-engine-menuitem[selected="true"] > .menu-iconic-text {
  font-weight: bold;
}
